body {
  /* padding: 20px; */
  font: 14px "Lucida Grande", Helvetica, Arial, sans-serif;
}

.container {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #fff;
  /* box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); */
}

details {
  border: none;
  padding: 0;
  margin-bottom: 20px;
}

summary {
  min-width: 200px;
  list-style: none;
  cursor: pointer;
  padding: 10px;
  background-color: #f0f0f0;
  border: 1px solid #ddd;
  border-radius: 4px;
  text-align: center;
  outline: none; /* 去除聚焦时的默认边框 */
}

summary::-webkit-details-marker {
  display: none; /* 去除默认的三角形 */
}

summary::marker {
  display: none; /* 去除默认的三角形 */
}

/* 添加展开时的过渡效果 */
details[open] summary {
  background-color: #e0e0e0;
}

/* 添加展开和折叠时的过渡效果 */
details summary {
  transition: background-color 0.3s ease;
}

details[open] summary {
  background-color: #e0e0e0;
}

details[open] .form {
  transition: all 0.3s ease;
}

.form {
  width: 1080px;
  padding: 20px 20px 0 20px;
  max-height: 1080px;
  overflow-y: auto;
  border: 1px solid #ddd;
  border-top: none;
  border-radius: 0 0 4px 4px;
  background-color: #fff;
}

.form-item {
  margin-bottom: 20px;
}

label {
  display: block;
  font-size: 16px;
  font-weight: bold;
  padding: 5px;
}

label.required:before {
  content: '* ';
  color: red;
}

.input {
  width: 100%;
  box-sizing: border-box;
  padding: 10px;
  border-radius: 4px;
  border: 1px solid #ccc;
  font-size: 16px;
}

.shell {
  min-height: 150px;
  overflow: hidden;
  resize: none;
}

.console {
  background: #282c34;
  color: #abb2bf;
  padding: 5px;
  font-size: 18px;
  white-space: pre-wrap;
  word-break: break-word;
}

button {
  color: rgba(0, 0, 0, 0.65); /* 深色字体 */
  background-color: #fff; /* 白色背景 */
  border-color: #d9d9d9; /* 浅灰色边框 */
  border: 1px solid; /* 添加边框 */
  border-radius: 4px; /* 圆角 */
  cursor: pointer; /* 鼠标悬停时显示指针 */
  transition: box-shadow 0.3s ease, transform 0.3s ease; /* 过渡效果 */
  padding: 10px 20px; /* 添加内边距 */
  font-size: 16px; /* 设置字体大小 */
}

button:disabled {
  color: rgba(0, 0, 0, 0.35); /* 禁用时的浅色字体 */
  background-color: #f5f5f5; /* 禁用时的浅灰色背景 */
  border-color: #d9d9d9; /* 禁用时的边框颜色 */
  cursor: not-allowed; /* 禁用时的光标样式 */
  box-shadow: none; /* 移除阴影效果 */
}

button:hover {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* 悬停时的阴影效果 */
}

button:active {
  transform: translateY(1px); /* 按下时的轻微移动 */
}

button:disabled:hover {
  cursor: not-allowed; /* 确保禁用状态的按钮在悬浮时光标不变 */
}

button.block {
  display: block;
  width: 100%;
  padding: 10px;
  font-weight: bold;
}

button.cancel {
  --color: #fa4350;
  border-color: var(--color);
  color: var(--color);
}

a {
  color: #00B7FF;
}
